#include <gmlib/number/uint256.h>

#include <stdexcept>

using namespace number;

void test_uint256_cmp_uint32()
{
    uint256_t a;

    std::uint8_t  a0_data[32] = {0x09,0x99,0x50,0xd8,0x36,0xf6,0x75,0xcc,0x81,0xe7,0x4e,0xf5,0xe8,0xe2,0x5d,0x94,0x0e,0xd9,0x04,0x75,0x95,0x31,0x98,0x5d,0x5d,0x9d,0xc9,0xf8,0x18,0x18,0xe8,0x11};
    std::uint32_t b0          = 1862494042;
    int           cmp0        = 1;
    uint256_from_bytes(a, a0_data);
    if (uint256_cmp_uint32(a, b0) != cmp0)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a1_data[32] = {0xf2,0x8c,0x10,0x5d,0x1f,0xb1,0x7c,0x23,0x90,0xc1,0x92,0xcf,0xd3,0xac,0x94,0xaf,0x0f,0x21,0xdd,0xb6,0x6c,0xad,0x4a,0x26,0x8d,0x11,0x6e,0xce,0x17,0x38,0xf7,0xd9};
    std::uint32_t b1          = 2514881269;
    int           cmp1        = 1;
    uint256_from_bytes(a, a1_data);
    if (uint256_cmp_uint32(a, b1) != cmp1)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a2_data[32] = {0x8a,0x6a,0x63,0xec,0x24,0xed,0xe6,0xa4,0x6b,0x4c,0xb2,0x42,0x4a,0x23,0xd5,0x96,0x22,0x17,0xbe,0xad,0xdb,0xc4,0x96,0xcb,0x8e,0x81,0x97,0x3e,0x0b,0xec,0xd7,0xb0};
    std::uint32_t b2          = 2452055640;
    int           cmp2        = 1;
    uint256_from_bytes(a, a2_data);
    if (uint256_cmp_uint32(a, b2) != cmp2)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a3_data[32] = {0x5c,0x90,0xa9,0x58,0x74,0x03,0xe4,0x30,0xec,0x66,0xa7,0x87,0x95,0xe7,0x61,0xd1,0x77,0x31,0xaf,0x10,0x50,0x6b,0xf2,0xef,0xc6,0xf8,0x77,0x18,0x6d,0x76,0xb0,0x7e};
    std::uint32_t b3          = 3349342752;
    int           cmp3        = 1;
    uint256_from_bytes(a, a3_data);
    if (uint256_cmp_uint32(a, b3) != cmp3)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a4_data[32] = {0x57,0x90,0xf8,0x2e,0xc1,0xd3,0xfc,0xff,0x2a,0x3a,0xf4,0xd4,0x6b,0x0a,0x18,0xe8,0x83,0x0e,0x07,0xbc,0x1e,0x39,0x8f,0x10,0x12,0xbd,0x4a,0xce,0xfa,0xec,0xbd,0x38};
    std::uint32_t b4          = 4008365026;
    int           cmp4        = 1;
    uint256_from_bytes(a, a4_data);
    if (uint256_cmp_uint32(a, b4) != cmp4)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a5_data[32] = {0xcc,0x01,0x1c,0xdd,0x94,0x74,0x03,0x1b,0x7f,0x26,0x14,0x4b,0x98,0x28,0x9f,0xcd,0x59,0xa5,0x4a,0x7b,0xb1,0xfe,0xe0,0x8f,0x57,0x12,0x42,0x42,0x50,0x51,0xc1,0xcc};
    std::uint32_t b5          = 1159380353;
    int           cmp5        = 1;
    uint256_from_bytes(a, a5_data);
    if (uint256_cmp_uint32(a, b5) != cmp5)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a6_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5a,0xff,0xb2,0x29};
    std::uint32_t b6          = 2871841566;
    int           cmp6        = -1;
    uint256_from_bytes(a, a6_data);
    if (uint256_cmp_uint32(a, b6) != cmp6)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a7_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x1b,0x10,0x3c};
    std::uint32_t b7          = 3171246566;
    int           cmp7        = -1;
    uint256_from_bytes(a, a7_data);
    if (uint256_cmp_uint32(a, b7) != cmp7)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a8_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x96,0xd0,0xcc,0x5f};
    std::uint32_t b8          = 2828307593;
    int           cmp8        = -1;
    uint256_from_bytes(a, a8_data);
    if (uint256_cmp_uint32(a, b8) != cmp8)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a9_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x83,0x68,0x86};
    std::uint32_t b9          = 1719888006;
    int           cmp9        = 0;
    uint256_from_bytes(a, a9_data);
    if (uint256_cmp_uint32(a, b9) != cmp9)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a10_data[32] = {0x99,0xc9,0x43,0x09,0x57,0x0d,0xc1,0x95,0x1c,0x24,0x42,0xf9,0x29,0x8c,0xb3,0xa5,0x70,0xcc,0xec,0x31,0x35,0x71,0x81,0x0a,0xfc,0x13,0x2d,0x0d,0x11,0x3d,0xb1,0x7d};
    std::uint32_t b10          = 439717024;
    int           cmp10        = 1;
    uint256_from_bytes(a, a10_data);
    if (uint256_cmp_uint32(a, b10) != cmp10)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a11_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9d,0x33,0xa0,0x1c};
    std::uint32_t b11          = 2637406236;
    int           cmp11        = 0;
    uint256_from_bytes(a, a11_data);
    if (uint256_cmp_uint32(a, b11) != cmp11)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a12_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7b,0xdc,0x96,0x8b};
    std::uint32_t b12          = 3646156326;
    int           cmp12        = -1;
    uint256_from_bytes(a, a12_data);
    if (uint256_cmp_uint32(a, b12) != cmp12)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a13_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x2c,0x3d,0xf3};
    std::uint32_t b13          = 99195379;
    int           cmp13        = -1;
    uint256_from_bytes(a, a13_data);
    if (uint256_cmp_uint32(a, b13) != cmp13)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a14_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xb0,0xc0,0x8b};
    std::uint32_t b14          = 2159067275;
    int           cmp14        = 0;
    uint256_from_bytes(a, a14_data);
    if (uint256_cmp_uint32(a, b14) != cmp14)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a15_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x7e,0x44,0x97};
    std::uint32_t b15          = 3514713239;
    int           cmp15        = 0;
    uint256_from_bytes(a, a15_data);
    if (uint256_cmp_uint32(a, b15) != cmp15)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a16_data[32] = {0x58,0x22,0xcb,0x77,0xf4,0xde,0x2c,0x08,0x9a,0xea,0x64,0x29,0xb1,0x49,0x1e,0x24,0x31,0x92,0xb7,0x04,0x42,0x59,0x40,0x52,0x78,0xe4,0xb9,0x8d,0x47,0x87,0xf9,0x3b};
    std::uint32_t b16          = 4185509962;
    int           cmp16        = 1;
    uint256_from_bytes(a, a16_data);
    if (uint256_cmp_uint32(a, b16) != cmp16)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a17_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0xbd,0x44,0x8f};
    std::uint32_t b17          = 3100213626;
    int           cmp17        = -1;
    uint256_from_bytes(a, a17_data);
    if (uint256_cmp_uint32(a, b17) != cmp17)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a18_data[32] = {0xfa,0xf5,0x54,0x96,0x98,0x8a,0xf3,0xfb,0xd3,0x96,0x30,0xd6,0x9c,0x90,0x11,0xef,0x25,0x6b,0xad,0xf9,0xa7,0xe6,0x52,0x9b,0xce,0x76,0xe9,0xf4,0x77,0x21,0x6e,0x9e};
    std::uint32_t b18          = 1504988818;
    int           cmp18        = 1;
    uint256_from_bytes(a, a18_data);
    if (uint256_cmp_uint32(a, b18) != cmp18)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a19_data[32] = {0x84,0x4a,0x70,0x34,0xe7,0x7f,0xfe,0x48,0xd0,0xa6,0xec,0x17,0x95,0x56,0x58,0x5e,0xa9,0x97,0xf3,0x51,0x75,0x4a,0x09,0xcd,0xe5,0xcf,0xed,0xfa,0x5a,0x91,0x96,0xf0};
    std::uint32_t b19          = 2192782745;
    int           cmp19        = 1;
    uint256_from_bytes(a, a19_data);
    if (uint256_cmp_uint32(a, b19) != cmp19)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a20_data[32] = {0x3f,0x9d,0x52,0xf9,0x0e,0x8b,0xec,0x94,0x8f,0x6f,0x91,0x5f,0xe2,0x1b,0x37,0xca,0x1b,0x29,0xfc,0x99,0xc6,0xc8,0x0e,0x2b,0xc8,0xc6,0x14,0xb2,0x7b,0x84,0x44,0xd1};
    std::uint32_t b20          = 1189349776;
    int           cmp20        = 1;
    uint256_from_bytes(a, a20_data);
    if (uint256_cmp_uint32(a, b20) != cmp20)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a21_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x82,0x16,0x85,0x8f};
    std::uint32_t b21          = 2199716799;
    int           cmp21        = -1;
    uint256_from_bytes(a, a21_data);
    if (uint256_cmp_uint32(a, b21) != cmp21)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a22_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd7,0x0a,0x39,0xd1};
    std::uint32_t b22          = 3607771601;
    int           cmp22        = 0;
    uint256_from_bytes(a, a22_data);
    if (uint256_cmp_uint32(a, b22) != cmp22)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a23_data[32] = {0x3d,0x9a,0x80,0x79,0xab,0xd0,0xd7,0xfb,0x12,0x92,0x61,0x85,0x50,0xe4,0x0d,0x54,0x71,0x2e,0xa6,0xb3,0x64,0x71,0xfd,0xe4,0x1f,0x22,0x9d,0xd0,0x6a,0xa8,0xb9,0xe0};
    std::uint32_t b23          = 314051309;
    int           cmp23        = 1;
    uint256_from_bytes(a, a23_data);
    if (uint256_cmp_uint32(a, b23) != cmp23)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a24_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x71,0x45,0x7b,0x02};
    std::uint32_t b24          = 2008910111;
    int           cmp24        = -1;
    uint256_from_bytes(a, a24_data);
    if (uint256_cmp_uint32(a, b24) != cmp24)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a25_data[32] = {0xb4,0xd1,0x9e,0xc1,0x29,0x55,0xd6,0xf0,0x39,0x45,0x33,0x6b,0xd5,0x1b,0x18,0x15,0xaa,0xf7,0x19,0xf3,0xfd,0x68,0x37,0x3b,0x29,0xac,0xf1,0xa5,0x7c,0xbd,0x1f,0x5a};
    std::uint32_t b25          = 1734349671;
    int           cmp25        = 1;
    uint256_from_bytes(a, a25_data);
    if (uint256_cmp_uint32(a, b25) != cmp25)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a26_data[32] = {0x8d,0xd6,0x3c,0xb9,0x56,0x85,0xd6,0x24,0x04,0xfc,0xd5,0x55,0x5d,0xaf,0x10,0x6d,0xb8,0xde,0xe0,0x81,0x17,0x9a,0x07,0x1e,0x51,0x8a,0xe4,0x52,0x5b,0x4b,0x1b,0x75};
    std::uint32_t b26          = 77661511;
    int           cmp26        = 1;
    uint256_from_bytes(a, a26_data);
    if (uint256_cmp_uint32(a, b26) != cmp26)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a27_data[32] = {0xa2,0x6a,0xa0,0xae,0x04,0x4f,0x15,0x74,0xf0,0x37,0xaf,0xc6,0x44,0xd8,0x2a,0x53,0x12,0x89,0xba,0xfa,0xe5,0x31,0x69,0x60,0x6c,0xe1,0x93,0xc2,0x2e,0xef,0xa2,0x79};
    std::uint32_t b27          = 3442968590;
    int           cmp27        = 1;
    uint256_from_bytes(a, a27_data);
    if (uint256_cmp_uint32(a, b27) != cmp27)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a28_data[32] = {0x02,0xf4,0xb3,0x42,0x74,0x2a,0x80,0x63,0x1f,0x26,0x42,0xaa,0xdc,0xde,0xd2,0x04,0x43,0xb3,0x0f,0x66,0x11,0x0e,0x2c,0xb6,0x38,0xef,0xba,0xeb,0xdb,0x31,0xcc,0xd2};
    std::uint32_t b28          = 3931727770;
    int           cmp28        = 1;
    uint256_from_bytes(a, a28_data);
    if (uint256_cmp_uint32(a, b28) != cmp28)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a29_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0xe5,0xaf,0x69};
    std::uint32_t b29          = 216379241;
    int           cmp29        = 0;
    uint256_from_bytes(a, a29_data);
    if (uint256_cmp_uint32(a, b29) != cmp29)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a30_data[32] = {0x4a,0x3a,0xdf,0x99,0x34,0xb3,0xff,0x60,0xc2,0x6e,0x7a,0x42,0x87,0xf5,0x3d,0xdd,0x4e,0x14,0xd5,0x71,0xa0,0xf0,0x96,0xda,0x4f,0xde,0xbb,0xec,0xee,0xa7,0xbb,0x64};
    std::uint32_t b30          = 764074176;
    int           cmp30        = 1;
    uint256_from_bytes(a, a30_data);
    if (uint256_cmp_uint32(a, b30) != cmp30)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a31_data[32] = {0xe1,0x3e,0x21,0x3e,0xbd,0xaa,0xea,0x00,0xa0,0x1d,0x61,0x6f,0x12,0x1a,0xe3,0xe6,0x03,0xa6,0x39,0x66,0x21,0x3b,0xca,0x7f,0xd6,0x44,0xde,0x2f,0x0d,0xec,0x68,0x23};
    std::uint32_t b31          = 1850017269;
    int           cmp31        = 1;
    uint256_from_bytes(a, a31_data);
    if (uint256_cmp_uint32(a, b31) != cmp31)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a32_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8c,0x0d,0x00};
    std::uint32_t b32          = 15559426;
    int           cmp32        = -1;
    uint256_from_bytes(a, a32_data);
    if (uint256_cmp_uint32(a, b32) != cmp32)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a33_data[32] = {0x5b,0x49,0x15,0x61,0x37,0xc6,0x0e,0x98,0x4f,0x3e,0x88,0x5e,0xe1,0xe4,0x37,0xb7,0xf7,0x35,0xef,0xe6,0x08,0xd1,0x80,0x11,0x3e,0x94,0x0b,0xb4,0x52,0xd3,0x1e,0x1b};
    std::uint32_t b33          = 4590953;
    int           cmp33        = 1;
    uint256_from_bytes(a, a33_data);
    if (uint256_cmp_uint32(a, b33) != cmp33)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a34_data[32] = {0xc6,0xb7,0x89,0xef,0x81,0x36,0x5a,0xcc,0x3f,0x88,0xaf,0x59,0x33,0x73,0x6d,0xcc,0xa7,0xf0,0xc9,0x9e,0x80,0xb5,0x24,0x4a,0x47,0x67,0xe1,0xfa,0x79,0x82,0x3e,0xb2};
    std::uint32_t b34          = 390205076;
    int           cmp34        = 1;
    uint256_from_bytes(a, a34_data);
    if (uint256_cmp_uint32(a, b34) != cmp34)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a35_data[32] = {0xa1,0x32,0x0b,0x9d,0x4d,0xe2,0xf8,0xad,0x4c,0xb5,0x9a,0xa7,0x05,0xc2,0x2d,0x3f,0x64,0xdb,0xc8,0xd3,0x0a,0xaa,0xaf,0x81,0x96,0x38,0x92,0xa7,0x66,0x46,0x5d,0x28};
    std::uint32_t b35          = 2562202726;
    int           cmp35        = 1;
    uint256_from_bytes(a, a35_data);
    if (uint256_cmp_uint32(a, b35) != cmp35)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a36_data[32] = {0x25,0x0e,0x7b,0x34,0xa4,0xaa,0x07,0xb4,0x9e,0x63,0x97,0xd4,0xb9,0x62,0x45,0xd3,0x48,0xbf,0xcb,0xcf,0x26,0x43,0x37,0x98,0x7e,0x83,0x49,0x04,0xfc,0x17,0x34,0x98};
    std::uint32_t b36          = 2171282226;
    int           cmp36        = 1;
    uint256_from_bytes(a, a36_data);
    if (uint256_cmp_uint32(a, b36) != cmp36)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a37_data[32] = {0x15,0xc8,0x91,0xff,0x3a,0xdd,0x65,0x27,0xa4,0x94,0x6d,0x15,0xb1,0x7d,0xd2,0x55,0xf4,0xc1,0x82,0x26,0xae,0xd2,0x3b,0x0f,0xb6,0x10,0x4b,0x84,0xe4,0x90,0x7d,0x49};
    std::uint32_t b37          = 179796360;
    int           cmp37        = 1;
    uint256_from_bytes(a, a37_data);
    if (uint256_cmp_uint32(a, b37) != cmp37)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a38_data[32] = {0x7b,0x7f,0xec,0x4b,0x03,0x31,0x2e,0xad,0x22,0x29,0x30,0xae,0x91,0x58,0xd4,0xa8,0x9f,0x03,0xbc,0x5a,0x4d,0xee,0x48,0x12,0xb1,0x61,0x07,0xf1,0xbe,0x43,0x7c,0x7b};
    std::uint32_t b38          = 2086486748;
    int           cmp38        = 1;
    uint256_from_bytes(a, a38_data);
    if (uint256_cmp_uint32(a, b38) != cmp38)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a39_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x1e,0xcb,0x04};
    std::uint32_t b39          = 855772365;
    int           cmp39        = -1;
    uint256_from_bytes(a, a39_data);
    if (uint256_cmp_uint32(a, b39) != cmp39)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a40_data[32] = {0x5d,0x7c,0xfe,0xd1,0xb4,0x0d,0xe5,0x6d,0x1c,0xd8,0x6f,0xc1,0xe3,0x09,0x66,0x19,0x47,0x91,0xc2,0xe9,0x82,0x3d,0x11,0xed,0xa1,0xb5,0x01,0xd6,0xd1,0xf9,0xbd,0xfe};
    std::uint32_t b40          = 3763015118;
    int           cmp40        = 1;
    uint256_from_bytes(a, a40_data);
    if (uint256_cmp_uint32(a, b40) != cmp40)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a41_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0xf4,0x56,0xaa};
    std::uint32_t b41          = 1710511786;
    int           cmp41        = 0;
    uint256_from_bytes(a, a41_data);
    if (uint256_cmp_uint32(a, b41) != cmp41)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a42_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x8b,0x69,0x8b};
    std::uint32_t b42          = 328138489;
    int           cmp42        = -1;
    uint256_from_bytes(a, a42_data);
    if (uint256_cmp_uint32(a, b42) != cmp42)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a43_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x4c,0xf9,0x38};
    std::uint32_t b43          = 1141293139;
    int           cmp43        = -1;
    uint256_from_bytes(a, a43_data);
    if (uint256_cmp_uint32(a, b43) != cmp43)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a44_data[32] = {0xc0,0xae,0xd9,0xc5,0x9d,0x6b,0x02,0x3f,0x73,0x6b,0x96,0xa0,0x69,0x2f,0xd3,0x60,0xbb,0x7b,0x73,0x8e,0xee,0xf7,0x95,0xcd,0x0c,0xaa,0x76,0x12,0x14,0xa0,0xb0,0x0b};
    std::uint32_t b44          = 1229255374;
    int           cmp44        = 1;
    uint256_from_bytes(a, a44_data);
    if (uint256_cmp_uint32(a, b44) != cmp44)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a45_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0xf5,0x49,0x69};
    std::uint32_t b45          = 1693796713;
    int           cmp45        = 0;
    uint256_from_bytes(a, a45_data);
    if (uint256_cmp_uint32(a, b45) != cmp45)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a46_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8c,0x3b,0xa8,0x59};
    std::uint32_t b46          = 2352719961;
    int           cmp46        = 0;
    uint256_from_bytes(a, a46_data);
    if (uint256_cmp_uint32(a, b46) != cmp46)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a47_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbe,0xef,0x67,0xfb};
    std::uint32_t b47          = 3739265091;
    int           cmp47        = -1;
    uint256_from_bytes(a, a47_data);
    if (uint256_cmp_uint32(a, b47) != cmp47)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a48_data[32] = {0x7f,0x86,0x7d,0x5f,0x0f,0xe3,0x21,0xec,0xc0,0x8a,0x58,0xd7,0x56,0x94,0x7a,0x7a,0x45,0x2e,0x70,0x4d,0x60,0x7a,0x47,0x32,0x35,0xc2,0xe2,0x29,0x86,0x2f,0xe2,0x31};
    std::uint32_t b48          = 1546812013;
    int           cmp48        = 1;
    uint256_from_bytes(a, a48_data);
    if (uint256_cmp_uint32(a, b48) != cmp48)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a49_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x27,0xf0,0x24,0x01};
    std::uint32_t b49          = 1651675896;
    int           cmp49        = -1;
    uint256_from_bytes(a, a49_data);
    if (uint256_cmp_uint32(a, b49) != cmp49)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a50_data[32] = {0x00,0x0b,0xb5,0xf9,0x7d,0x65,0x21,0x35,0x96,0x51,0x32,0xd6,0xf7,0xe1,0x47,0xfd,0x79,0x28,0x1c,0x19,0xcd,0xe3,0x47,0xab,0xe5,0x4c,0x5d,0xe6,0xc3,0x81,0x3c,0xe6};
    std::uint32_t b50          = 3674184203;
    int           cmp50        = 1;
    uint256_from_bytes(a, a50_data);
    if (uint256_cmp_uint32(a, b50) != cmp50)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a51_data[32] = {0xae,0x9c,0x78,0xbd,0xf8,0xcd,0x9e,0xc3,0x85,0xb9,0xc0,0x9a,0x26,0xed,0xf1,0xbd,0x27,0x85,0x57,0x98,0x39,0x4a,0xfb,0xe9,0x1b,0xea,0x70,0x5e,0xc8,0x79,0xb6,0x63};
    std::uint32_t b51          = 1964196103;
    int           cmp51        = 1;
    uint256_from_bytes(a, a51_data);
    if (uint256_cmp_uint32(a, b51) != cmp51)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a52_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x59,0x56,0xbe};
    std::uint32_t b52          = 1666799294;
    int           cmp52        = 0;
    uint256_from_bytes(a, a52_data);
    if (uint256_cmp_uint32(a, b52) != cmp52)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a53_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf5,0x7d,0x17,0x09};
    std::uint32_t b53          = 4118615817;
    int           cmp53        = 0;
    uint256_from_bytes(a, a53_data);
    if (uint256_cmp_uint32(a, b53) != cmp53)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a54_data[32] = {0x5e,0xc6,0x9b,0xe3,0xec,0xd7,0x57,0x0b,0x6c,0xa0,0x64,0x96,0xaa,0xd7,0xc7,0xc0,0x3a,0x53,0xc1,0x76,0x41,0xdb,0x89,0x8e,0x14,0xc2,0x73,0x2a,0x6b,0x86,0x29,0x0b};
    std::uint32_t b54          = 2117176022;
    int           cmp54        = 1;
    uint256_from_bytes(a, a54_data);
    if (uint256_cmp_uint32(a, b54) != cmp54)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a55_data[32] = {0xe3,0xab,0x62,0x83,0xc2,0xae,0x35,0xd2,0x43,0xd8,0x7a,0x97,0x38,0xb0,0x79,0xe1,0x77,0x11,0xb7,0x57,0x3b,0x16,0x49,0x43,0x31,0xa5,0x9c,0x4a,0xd1,0xeb,0xd0,0x86};
    std::uint32_t b55          = 2678328790;
    int           cmp55        = 1;
    uint256_from_bytes(a, a55_data);
    if (uint256_cmp_uint32(a, b55) != cmp55)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a56_data[32] = {0x98,0x9b,0xc9,0xdc,0xf9,0x5f,0xe8,0xa0,0x06,0x0c,0x88,0x04,0x36,0x83,0xd4,0xbc,0x0d,0xea,0x6e,0x4e,0x64,0xb9,0xcb,0x1c,0xec,0x03,0x2e,0x6b,0x25,0x79,0x5c,0x18};
    std::uint32_t b56          = 1784064707;
    int           cmp56        = 1;
    uint256_from_bytes(a, a56_data);
    if (uint256_cmp_uint32(a, b56) != cmp56)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a57_data[32] = {0xd6,0xd1,0x06,0xfb,0x60,0xed,0x33,0xa0,0xb9,0xb2,0x53,0xe3,0xaa,0x18,0x13,0x45,0x4f,0xd3,0xe7,0x58,0x08,0x2a,0x2f,0x4d,0x77,0xb5,0xab,0xcb,0xbf,0x0e,0x11,0xe0};
    std::uint32_t b57          = 4230469251;
    int           cmp57        = 1;
    uint256_from_bytes(a, a57_data);
    if (uint256_cmp_uint32(a, b57) != cmp57)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a58_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xeb,0x64,0xc5,0xc4};
    std::uint32_t b58          = 3949249988;
    int           cmp58        = 0;
    uint256_from_bytes(a, a58_data);
    if (uint256_cmp_uint32(a, b58) != cmp58)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a59_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0xec,0x37,0x9a};
    std::uint32_t b59          = 3292813998;
    int           cmp59        = -1;
    uint256_from_bytes(a, a59_data);
    if (uint256_cmp_uint32(a, b59) != cmp59)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a60_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4e,0xf9,0x26,0xaf};
    std::uint32_t b60          = 1456292562;
    int           cmp60        = -1;
    uint256_from_bytes(a, a60_data);
    if (uint256_cmp_uint32(a, b60) != cmp60)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a61_data[32] = {0x46,0x8f,0xb5,0x96,0xec,0x9a,0x36,0x0c,0x51,0x05,0x12,0x2a,0xb0,0x88,0x24,0x11,0xb7,0x75,0x70,0xa4,0xbf,0x16,0x8d,0xa7,0x43,0x1d,0xbc,0x3f,0x0b,0x28,0x6c,0x70};
    std::uint32_t b61          = 4051228543;
    int           cmp61        = 1;
    uint256_from_bytes(a, a61_data);
    if (uint256_cmp_uint32(a, b61) != cmp61)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a62_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,0x28,0xb0,0x4c};
    std::uint32_t b62          = 1014224372;
    int           cmp62        = -1;
    uint256_from_bytes(a, a62_data);
    if (uint256_cmp_uint32(a, b62) != cmp62)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a63_data[32] = {0xc0,0xbd,0x1d,0x84,0x64,0x45,0x7e,0xa4,0x32,0x83,0x06,0x89,0x83,0x0a,0xe1,0x9e,0x14,0x3a,0x51,0x80,0x98,0x80,0xe8,0x8b,0xc8,0x41,0x72,0x1e,0xc8,0xa9,0x48,0x14};
    std::uint32_t b63          = 1062177693;
    int           cmp63        = 1;
    uint256_from_bytes(a, a63_data);
    if (uint256_cmp_uint32(a, b63) != cmp63)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a64_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x72,0x6c,0x2c,0x95};
    std::uint32_t b64          = 1919691925;
    int           cmp64        = 0;
    uint256_from_bytes(a, a64_data);
    if (uint256_cmp_uint32(a, b64) != cmp64)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a65_data[32] = {0x4b,0x3e,0x90,0xb7,0xd7,0x43,0x55,0x71,0xc7,0x9d,0xbc,0x12,0x1f,0x04,0xa6,0xff,0xc2,0x72,0xf5,0xa7,0xaa,0x17,0xc5,0x7c,0xc6,0x1c,0x96,0xdb,0xd8,0xd4,0x25,0x0d};
    std::uint32_t b65          = 1149616207;
    int           cmp65        = 1;
    uint256_from_bytes(a, a65_data);
    if (uint256_cmp_uint32(a, b65) != cmp65)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a66_data[32] = {0x27,0x40,0x1f,0xa0,0x3c,0x49,0xfd,0xbd,0x3e,0xce,0x9f,0x2c,0x2f,0x8c,0x6c,0x08,0x3f,0x57,0x83,0xea,0x70,0x7c,0x5f,0x3d,0x32,0xfe,0x1f,0x36,0x42,0xa5,0x51,0x62};
    std::uint32_t b66          = 2483696951;
    int           cmp66        = 1;
    uint256_from_bytes(a, a66_data);
    if (uint256_cmp_uint32(a, b66) != cmp66)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a67_data[32] = {0xe0,0x7b,0x59,0xd8,0x0a,0x55,0x27,0xa2,0x5f,0xb6,0x5b,0x55,0xea,0x14,0x84,0x3a,0x72,0xc3,0x9a,0x28,0xd7,0x2e,0xb3,0xa1,0x3b,0x2a,0x42,0x1a,0xd1,0xb0,0xb7,0x0b};
    std::uint32_t b67          = 1000266443;
    int           cmp67        = 1;
    uint256_from_bytes(a, a67_data);
    if (uint256_cmp_uint32(a, b67) != cmp67)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a68_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5e,0x63,0xaf,0x16};
    std::uint32_t b68          = 1583591190;
    int           cmp68        = 0;
    uint256_from_bytes(a, a68_data);
    if (uint256_cmp_uint32(a, b68) != cmp68)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a69_data[32] = {0x5f,0x2e,0xe4,0x0d,0xad,0xa6,0x5c,0xc4,0x68,0xb3,0xe3,0xaa,0x53,0xc6,0x9b,0x0a,0xd1,0x9f,0x0b,0xe9,0x02,0xe9,0xc9,0xfb,0xd0,0x93,0x0b,0x64,0x34,0x14,0xc2,0xdc};
    std::uint32_t b69          = 2667233938;
    int           cmp69        = 1;
    uint256_from_bytes(a, a69_data);
    if (uint256_cmp_uint32(a, b69) != cmp69)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a70_data[32] = {0xa7,0x2e,0xd5,0x08,0x17,0x55,0xc6,0xde,0x88,0xb4,0x09,0xc8,0xa3,0xa1,0x6d,0x92,0x27,0x90,0xbb,0x01,0x8c,0xd5,0xd1,0x87,0xa9,0xfd,0xa2,0xef,0x65,0x32,0x2a,0x48};
    std::uint32_t b70          = 1164652844;
    int           cmp70        = 1;
    uint256_from_bytes(a, a70_data);
    if (uint256_cmp_uint32(a, b70) != cmp70)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a71_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x52,0x7e,0x43,0x10};
    std::uint32_t b71          = 1778460175;
    int           cmp71        = -1;
    uint256_from_bytes(a, a71_data);
    if (uint256_cmp_uint32(a, b71) != cmp71)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a72_data[32] = {0xe2,0x01,0xaa,0xfd,0x93,0xea,0x6a,0x94,0x67,0xfd,0xe1,0xc3,0x17,0x2a,0x39,0x0a,0xd2,0x03,0xac,0xfe,0x1d,0x10,0xe9,0x31,0x6c,0x7b,0x31,0xe2,0x28,0x14,0xc4,0x37};
    std::uint32_t b72          = 698123661;
    int           cmp72        = 1;
    uint256_from_bytes(a, a72_data);
    if (uint256_cmp_uint32(a, b72) != cmp72)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a73_data[32] = {0x48,0x86,0x05,0x8b,0x59,0x12,0xeb,0x60,0x25,0x58,0xd6,0xc0,0x2b,0xf3,0x97,0x75,0x81,0x24,0x7d,0xd4,0xbc,0xbc,0x58,0xa3,0x5e,0xef,0x9b,0x8b,0xed,0x5e,0xc9,0x04};
    std::uint32_t b73          = 2238360349;
    int           cmp73        = 1;
    uint256_from_bytes(a, a73_data);
    if (uint256_cmp_uint32(a, b73) != cmp73)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a74_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0xa9,0xf4,0x4a};
    std::uint32_t b74          = 4050479347;
    int           cmp74        = -1;
    uint256_from_bytes(a, a74_data);
    if (uint256_cmp_uint32(a, b74) != cmp74)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a75_data[32] = {0x9e,0xfd,0x55,0xd2,0x38,0xd9,0xe9,0xab,0xdb,0x49,0x52,0x44,0xc9,0x2b,0xdd,0x5a,0xa3,0xec,0x4d,0x32,0x29,0x07,0xdb,0x86,0xe4,0x21,0x93,0x07,0xd3,0x16,0x15,0xe5};
    std::uint32_t b75          = 2031327139;
    int           cmp75        = 1;
    uint256_from_bytes(a, a75_data);
    if (uint256_cmp_uint32(a, b75) != cmp75)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a76_data[32] = {0x1f,0x80,0xa4,0xe8,0x5b,0xf5,0x08,0xa0,0x62,0x32,0x0f,0xa3,0x28,0x0f,0x00,0x5d,0x84,0x94,0x9a,0xab,0xf0,0x44,0xc0,0x32,0x66,0x55,0xb9,0xf0,0x0a,0xad,0xac,0xf0};
    std::uint32_t b76          = 3853852782;
    int           cmp76        = 1;
    uint256_from_bytes(a, a76_data);
    if (uint256_cmp_uint32(a, b76) != cmp76)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a77_data[32] = {0x1e,0x23,0x9e,0xb4,0x52,0xfe,0xf4,0x78,0xd6,0x94,0x8d,0xed,0xaa,0xfb,0x42,0x94,0x09,0xc2,0xcd,0x73,0xac,0x18,0xcd,0x4e,0xc1,0xe8,0xfb,0x16,0xd7,0xad,0x18,0xa7};
    std::uint32_t b77          = 2574917822;
    int           cmp77        = 1;
    uint256_from_bytes(a, a77_data);
    if (uint256_cmp_uint32(a, b77) != cmp77)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a78_data[32] = {0x6c,0xfd,0x49,0x40,0x3f,0xcf,0x6d,0x85,0x95,0x26,0xe3,0xd0,0x4e,0xe6,0xf4,0xff,0x6b,0x89,0xd4,0x63,0xa6,0x26,0xb0,0x97,0x4e,0x64,0x0c,0xd4,0xc7,0x30,0xa7,0xcb};
    std::uint32_t b78          = 2829707874;
    int           cmp78        = 1;
    uint256_from_bytes(a, a78_data);
    if (uint256_cmp_uint32(a, b78) != cmp78)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a79_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0xa8,0x08,0x88};
    std::uint32_t b79          = 3517450376;
    int           cmp79        = 0;
    uint256_from_bytes(a, a79_data);
    if (uint256_cmp_uint32(a, b79) != cmp79)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a80_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x6f,0xb1,0x54};
    std::uint32_t b80          = 175092052;
    int           cmp80        = 0;
    uint256_from_bytes(a, a80_data);
    if (uint256_cmp_uint32(a, b80) != cmp80)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a81_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe5,0x16,0x09,0x31};
    std::uint32_t b81          = 3843426609;
    int           cmp81        = 0;
    uint256_from_bytes(a, a81_data);
    if (uint256_cmp_uint32(a, b81) != cmp81)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a82_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x91,0x2f,0xe4};
    std::uint32_t b82          = 831966532;
    int           cmp82        = -1;
    uint256_from_bytes(a, a82_data);
    if (uint256_cmp_uint32(a, b82) != cmp82)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a83_data[32] = {0x32,0xed,0xdf,0x6f,0x09,0x6d,0xe4,0x21,0x5f,0x4c,0xe3,0x02,0x51,0xaf,0x10,0x74,0x3c,0xc6,0x31,0x41,0x81,0x89,0xac,0x45,0x9d,0xa9,0x68,0xf2,0x43,0x4b,0x4b,0x94};
    std::uint32_t b83          = 1732870932;
    int           cmp83        = 1;
    uint256_from_bytes(a, a83_data);
    if (uint256_cmp_uint32(a, b83) != cmp83)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a84_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xf6,0x0e,0x84};
    std::uint32_t b84          = 207410235;
    int           cmp84        = -1;
    uint256_from_bytes(a, a84_data);
    if (uint256_cmp_uint32(a, b84) != cmp84)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a85_data[32] = {0xe5,0x4e,0x19,0xe5,0xa9,0xe8,0x25,0x81,0xed,0xaf,0x80,0xf3,0x95,0xfb,0x98,0xf9,0xde,0xcb,0xc1,0x0b,0xfb,0xeb,0x0a,0x98,0xf7,0x48,0xf9,0x31,0xa3,0xa5,0x17,0x59};
    std::uint32_t b85          = 3148377591;
    int           cmp85        = 1;
    uint256_from_bytes(a, a85_data);
    if (uint256_cmp_uint32(a, b85) != cmp85)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a86_data[32] = {0x05,0xb4,0xc4,0x25,0x0b,0xab,0x5f,0x9f,0xa7,0x32,0x1d,0x31,0x9c,0xce,0x12,0xd5,0x3a,0x2d,0xb0,0x0a,0x7d,0x07,0x6c,0x0b,0x21,0xcc,0x47,0x51,0x0c,0x3b,0x12,0x66};
    std::uint32_t b86          = 1524552650;
    int           cmp86        = 1;
    uint256_from_bytes(a, a86_data);
    if (uint256_cmp_uint32(a, b86) != cmp86)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a87_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd4,0x16,0xb8,0xa9};
    std::uint32_t b87          = 3558258857;
    int           cmp87        = 0;
    uint256_from_bytes(a, a87_data);
    if (uint256_cmp_uint32(a, b87) != cmp87)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a88_data[32] = {0x73,0x6b,0x1b,0xe2,0x26,0x39,0x61,0xd1,0xb5,0x1c,0xec,0xef,0x3e,0x5b,0xcc,0xe6,0xcd,0x2f,0x49,0x34,0xef,0xc4,0x6c,0x08,0x03,0x9c,0xd8,0x62,0x22,0x7e,0xe4,0x09};
    std::uint32_t b88          = 1158610986;
    int           cmp88        = 1;
    uint256_from_bytes(a, a88_data);
    if (uint256_cmp_uint32(a, b88) != cmp88)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a89_data[32] = {0x3c,0xd7,0xdc,0xef,0x2f,0x87,0x46,0x6e,0x67,0xee,0xe0,0x99,0x06,0x75,0x29,0x5f,0x88,0x12,0x2e,0x14,0x0f,0xc0,0x55,0x31,0x0b,0x43,0xb6,0xdd,0x00,0x1a,0x2f,0xd3};
    std::uint32_t b89          = 3345230814;
    int           cmp89        = 1;
    uint256_from_bytes(a, a89_data);
    if (uint256_cmp_uint32(a, b89) != cmp89)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a90_data[32] = {0xff,0x21,0xdd,0x5a,0x39,0xd7,0xc1,0x40,0x2c,0xe6,0x78,0xfe,0x73,0xd6,0x34,0x26,0xa7,0xd0,0xe5,0x97,0xbd,0xe3,0xa6,0xe4,0x14,0x9a,0x3e,0x17,0x77,0x1b,0xa4,0xba};
    std::uint32_t b90          = 1122819321;
    int           cmp90        = 1;
    uint256_from_bytes(a, a90_data);
    if (uint256_cmp_uint32(a, b90) != cmp90)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a91_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x81,0xe6,0xd6,0xc8};
    std::uint32_t b91          = 2179389128;
    int           cmp91        = 0;
    uint256_from_bytes(a, a91_data);
    if (uint256_cmp_uint32(a, b91) != cmp91)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a92_data[32] = {0x3d,0x3a,0x19,0x02,0x99,0xea,0x45,0x14,0x54,0x1c,0x18,0xd5,0x63,0x82,0x50,0x46,0xe1,0x52,0x7a,0xe4,0x31,0x22,0xc8,0x15,0x53,0xad,0xd8,0x17,0xea,0x3a,0xb6,0xd2};
    std::uint32_t b92          = 2016456835;
    int           cmp92        = 1;
    uint256_from_bytes(a, a92_data);
    if (uint256_cmp_uint32(a, b92) != cmp92)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a93_data[32] = {0xed,0xcf,0x97,0x5c,0x9f,0x39,0x5e,0xf1,0x1b,0x4f,0x46,0x3f,0x1c,0xa5,0x05,0xc1,0x06,0xe3,0x15,0xe3,0x08,0x6d,0x06,0xd8,0x25,0x04,0x2c,0x3d,0x2b,0xea,0x71,0x4d};
    std::uint32_t b93          = 123405707;
    int           cmp93        = 1;
    uint256_from_bytes(a, a93_data);
    if (uint256_cmp_uint32(a, b93) != cmp93)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a94_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0x03,0x45,0x15};
    std::uint32_t b94          = 3271771413;
    int           cmp94        = 0;
    uint256_from_bytes(a, a94_data);
    if (uint256_cmp_uint32(a, b94) != cmp94)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a95_data[32] = {0x34,0xaa,0x4a,0x20,0x3f,0x1f,0xb2,0x41,0x1b,0x6b,0xf2,0x73,0x62,0x43,0x83,0x62,0xf1,0xbf,0x55,0xed,0xb6,0x14,0x3f,0x78,0xea,0x16,0xb1,0x8f,0xc1,0x7a,0x4f,0x81};
    std::uint32_t b95          = 480906312;
    int           cmp95        = 1;
    uint256_from_bytes(a, a95_data);
    if (uint256_cmp_uint32(a, b95) != cmp95)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a96_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1b,0x1e,0xf8,0xdf};
    std::uint32_t b96          = 880440101;
    int           cmp96        = -1;
    uint256_from_bytes(a, a96_data);
    if (uint256_cmp_uint32(a, b96) != cmp96)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a97_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2b,0x9d,0x73,0x64};
    std::uint32_t b97          = 3555501905;
    int           cmp97        = -1;
    uint256_from_bytes(a, a97_data);
    if (uint256_cmp_uint32(a, b97) != cmp97)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a98_data[32] = {0xfa,0x55,0x68,0x35,0xc0,0x21,0xfa,0x1b,0xc3,0x1e,0x4b,0x97,0x49,0xd0,0x4c,0xe5,0x33,0xb8,0x93,0xa5,0x86,0x07,0xbf,0xbf,0x00,0x55,0x22,0x93,0x6f,0xa1,0x76,0xac};
    std::uint32_t b98          = 18733235;
    int           cmp98        = 1;
    uint256_from_bytes(a, a98_data);
    if (uint256_cmp_uint32(a, b98) != cmp98)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
    std::uint8_t  a99_data[32] = {0x97,0xb1,0xac,0x9d,0x7e,0x9c,0xe7,0x7a,0xf7,0x97,0x8c,0x5f,0x2f,0x3c,0xa6,0x61,0xd3,0x49,0x79,0xb3,0xcb,0xf9,0x3e,0x3f,0xb1,0xf9,0x25,0xcb,0x7d,0xd1,0xe6,0xc7};
    std::uint32_t b99          = 2212510605;
    int           cmp99        = 1;
    uint256_from_bytes(a, a99_data);
    if (uint256_cmp_uint32(a, b99) != cmp99)
    {
        throw std::runtime_error("err in uint256_cmp_uint32");
    }
}
